package com.haoxuewa.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haoxuewa.entity.User;
import com.haoxuewa.entity.VisitQuantity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface VisitQuantityDao extends BaseMapper<VisitQuantity> {
//    //取前n条记录
//    List<Map<String, String>> front_n(@Param("n") int n);
//
//    //取后7-n条记录
//    List<Map<String, String>> back_n(@Param("n") int n, @Param("m") int m);
//
//    //写入当天的访问量
//    Boolean toDayVisit(@Param("dayOfWeek") int dayOfWeek,@Param("quantity") int quantity);

}